package com.nf.health.app.utils;

import java.util.ArrayList;
import java.util.List;

import cn.bluetools.SleepsData;

/**
 * Created by Jason on 2016/6/30.
 */
public class DataService {
    public static List<SleepsData> getMyData(){

        List<SleepsData> sleepsDatas = new ArrayList<>();
        SleepsData model1q = new SleepsData();
        model1q.time_stamp = 1467052000;
        model1q.status = 6;
        sleepsDatas.add(model1q);



        SleepsData model1qq = new SleepsData();
        model1qq.time_stamp = 1467052010;
        model1qq.status = 4;
        sleepsDatas.add(model1qq);


        SleepsData model1a = new SleepsData();
        model1a.time_stamp = 1467052300;
        model1a.status = 2;
        sleepsDatas.add(model1a);


        SleepsData model1s = new SleepsData();
        model1s.time_stamp = 1467052400;
        model1s.status = 3;
        sleepsDatas.add(model1s);


        SleepsData model16 = new SleepsData();
        model16.time_stamp = 1467052500;
        model16.status = 7;
        sleepsDatas.add(model16);


        SleepsData model15= new SleepsData();
        model15.time_stamp = 1467058500;
        model15.status = 6;
        sleepsDatas.add(model15);


        SleepsData model13 = new SleepsData();
        model13.time_stamp = 1467058510;
        model13.status = 4;
        sleepsDatas.add(model13);



        SleepsData model14 = new SleepsData();
        model14.time_stamp = 1467058600;
        model14.status = 2;
        sleepsDatas.add(model14);


        SleepsData model12 = new SleepsData();
        model12.time_stamp = 1467058700;
        model12.status = 3;
        sleepsDatas.add(model12);


        SleepsData model11 = new SleepsData();
        model11.time_stamp = 1467058800;
        model11.status = 7;
        sleepsDatas.add(model11);


        SleepsData model1 = new SleepsData();
        model1.time_stamp = 1467121000;
        model1.status = 6;
        sleepsDatas.add(model1);

        SleepsData model2 = new SleepsData();
        model2.time_stamp = 1467121051;
        model2.status = 4;
        sleepsDatas.add(model2);

        SleepsData model3 = new SleepsData();
        model3.time_stamp = 1467122201;
        model3.status = 2;
        sleepsDatas.add(model3);

        SleepsData model4 = new SleepsData();
        model4.time_stamp = 1467123411;
        model4.status = 3;
        sleepsDatas.add(model4);

        SleepsData model7 = new SleepsData();
        model7.time_stamp = 1467123571;
        model7.status = 7;
        sleepsDatas.add(model7);



        SleepsData q2 = new SleepsData();
        q2.time_stamp = 1467123671;
        q2.status = 6;
        sleepsDatas.add(q2);

        SleepsData q3 = new SleepsData();
        q3.time_stamp = 1467123671;
        q3.status = 4;
        sleepsDatas.add(q3);

        SleepsData q4 = new SleepsData();
        q4.time_stamp = 1467124331;
        q4.status = 2;
        sleepsDatas.add(q4);


        SleepsData q5 = new SleepsData();
        q5.time_stamp = 1467125051;
        q5.status = 1;
        sleepsDatas.add(q5);

        SleepsData q6 = new SleepsData();
        q6.time_stamp = 1467126491;
        q6.status = 2;
        sleepsDatas.add(q6);

        SleepsData q7 = new SleepsData();
        q7.time_stamp = 1467127211;
        q7.status = 1;
        sleepsDatas.add(q7);

        SleepsData q8 = new SleepsData();
        q8.time_stamp = 1467127991;
        q8.status = 2;
        sleepsDatas.add(q8);

        SleepsData q11 = new SleepsData();
        q11.time_stamp = 1467129731;
        q11.status = 1;
        sleepsDatas.add(q11);

        SleepsData qq1 = new SleepsData();
        qq1.time_stamp = 1467131531;
        qq1.status = 2;
        sleepsDatas.add(qq1);

        SleepsData qq2 = new SleepsData();
        qq2.time_stamp = 1467133751;
        qq2.status = 1;
        sleepsDatas.add(qq2);

        SleepsData a1 = new SleepsData();
        a1.time_stamp = 1467135851;
        a1.status = 2;
        sleepsDatas.add(a1);

        SleepsData a2 = new SleepsData();
        a2.time_stamp = 1467138131;
        a2.status = 1;
        sleepsDatas.add(a2);


        SleepsData a3 = new SleepsData();
        a3.time_stamp = 1467139271;
        a3.status = 2;
        sleepsDatas.add(a3);

        SleepsData a4 = new SleepsData();
        a4.time_stamp = 1467141011;
        a4.status = 1;
        sleepsDatas.add(a4);


        SleepsData a5 = new SleepsData();
        a5.time_stamp = 1467142211;
        a5.status = 2;
        sleepsDatas.add(a5);

        SleepsData a6 = new SleepsData();
        a6.time_stamp = 1467143711;
        a6.status = 3;
        sleepsDatas.add(a6);

        SleepsData data01 = new SleepsData();
        data01.time_stamp = 1467152650;
        data01.status = 3;
        sleepsDatas.add(data01);

        SleepsData data02 = new SleepsData();
        data02.time_stamp = 1467152650;
        data02.status = 7;
        sleepsDatas.add(data02);

        SleepsData data031f = new SleepsData();
        data031f.time_stamp = 1467152650;
        data031f.status = 6;
        sleepsDatas.add(data031f);

        SleepsData data031d = new SleepsData();
        data031d.time_stamp = 1467153650;
        data031d.status = 4;
        sleepsDatas.add(data031d);

        SleepsData data031ss = new SleepsData();
        data031ss.time_stamp = 1467154650;
        data031ss.status = 2;
        sleepsDatas.add(data031ss);

        SleepsData data031s = new SleepsData();
        data031s.time_stamp = 1467155650;
        data031s.status = 1;
        sleepsDatas.add(data031s);

        SleepsData data031zz = new SleepsData();
        data031zz.time_stamp = 1467158650;
        data031zz.status = 3;
        sleepsDatas.add(data031zz);

        SleepsData data031z = new SleepsData();
        data031z.time_stamp = 1467159650;
        data031z.status = 7;
        sleepsDatas.add(data031z);









        SleepsData data031 = new SleepsData();
        data031.time_stamp = 1467200050;
        data031.status = 6;
        sleepsDatas.add(data031);

        SleepsData data03q = new SleepsData();
        data03q.time_stamp = 1467200150;
        data03q.status = 4;
        sleepsDatas.add(data03q);

        SleepsData data03w = new SleepsData();
        data03w.time_stamp = 1467200250;
        data03w.status = 2;
        sleepsDatas.add(data03w);

        SleepsData data03e = new SleepsData();
        data03e.time_stamp = 1467200350;
        data03e.status = 3;
        sleepsDatas.add(data03e);

        SleepsData data03r = new SleepsData();
        data03r.time_stamp = 1467200550;
        data03r.status = 7;
        sleepsDatas.add(data03r);





        SleepsData data031q = new SleepsData();
        data031q.time_stamp = 1467202100;
        data031q.status = 6;
        sleepsDatas.add(data031q);

        SleepsData data031a = new SleepsData();
        data031a.time_stamp = 1467202150;
        data031a.status = 4;
        sleepsDatas.add(data031a);

        SleepsData data031aa = new SleepsData();
        data031aa.time_stamp = 1467203050;
        data031aa.status = 2;
        sleepsDatas.add(data031aa);

        SleepsData data031w = new SleepsData();
        data031w.time_stamp = 1467204550;
        data031w.status = 1;
        sleepsDatas.add(data031w);

        SleepsData data031e = new SleepsData();
        data031e.time_stamp = 1467205050;
        data031e.status = 3;
        sleepsDatas.add(data031e);

        SleepsData data031r = new SleepsData();
        data031r.time_stamp = 1467206050;
        data031r.status = 7;
        sleepsDatas.add(data031r);




        SleepsData data03 = new SleepsData();
        data03.time_stamp = 1467251363;
        data03.status = 6;
        sleepsDatas.add(data03);

        SleepsData data04 = new SleepsData();
        data04.time_stamp = 1467252363;
        data04.status = 4;
        sleepsDatas.add(data04);

        SleepsData data05 = new SleepsData();
        data05.time_stamp = 1467252363;
        data05.status = 4;
        sleepsDatas.add(data05);

        SleepsData data06 = new SleepsData();
        data06.time_stamp = 1467253363;
        data06.status = 1;
        sleepsDatas.add(data06);

        SleepsData data07 = new SleepsData();
        data07.time_stamp = 1467254363;
        data07.status = 2;
        sleepsDatas.add(data07);

        SleepsData data08 = new SleepsData();
        data08.time_stamp = 1467255363;
        data08.status = 3;
        sleepsDatas.add(data08);

        SleepsData data09 = new SleepsData();
        data09.time_stamp = 1467256363;
        data09.status = 3;
        sleepsDatas.add(data09);

        SleepsData data091 = new SleepsData();
        data091.time_stamp = 1467257363;
        data091.status = 7;
        sleepsDatas.add(data091);


        SleepsData data1091 = new SleepsData();
        data1091.time_stamp = 1467257963;
        data1091.status = 6;
        sleepsDatas.add(data1091);


        SleepsData data2091 = new SleepsData();
        data2091.time_stamp = 1467257963;
        data2091.status = 4;
        sleepsDatas.add(data2091);


        SleepsData data3091 = new SleepsData();
        data3091.time_stamp = 1467258063;
        data3091.status = 4;
        sleepsDatas.add(data3091);


        SleepsData data4091 = new SleepsData();
        data4091.time_stamp = 1467258163;
        data4091.status = 1;
        sleepsDatas.add(data4091);


        SleepsData data5091 = new SleepsData();
        data5091.time_stamp = 1467258263;
        data5091.status = 2;
        sleepsDatas.add(data5091);


        SleepsData data6091 = new SleepsData();
        data6091.time_stamp = 1467258363;
        data6091.status = 3;
        sleepsDatas.add(data6091);


        SleepsData data7091 = new SleepsData();
        data7091.time_stamp = 1467258463;
        data7091.status = 3;
        sleepsDatas.add(data7091);


        SleepsData data8091 = new SleepsData();
        data8091.time_stamp = 1467258563;
        data8091.status = 7;
        sleepsDatas.add(data8091);

//        SleepsData data8091q = new SleepsData();
//        data8091q.time_stamp = 1467259563;
//        data8091q.status = 6;
//        sleepsDatas.add(data8091q);
//
//        SleepsData data8091w = new SleepsData();
//        data8091w.time_stamp = 1467260000;
//        data8091w.status = 4;
//        sleepsDatas.add(data8091w);
//
//        SleepsData data8091e = new SleepsData();
//        data8091e.time_stamp = 1467261050;
//        data8091e.status = 2;
//        sleepsDatas.add(data8091e);
//
//        SleepsData data8091r = new SleepsData();
//        data8091r.time_stamp = 1467269550;
//        data8091r.status = 1;
//        sleepsDatas.add(data8091r);
//
//        SleepsData data8091t = new SleepsData();
//        data8091t.time_stamp = 1467285050;
//        data8091t.status = 3;
//        sleepsDatas.add(data8091t);
//
//        SleepsData data8091qy = new SleepsData();
//        data8091qy.time_stamp = 1467299563;
//        data8091qy.status = 7;
//        sleepsDatas.add(data8091qy);



        for(int i  = 0 ; i < sleepsDatas.size(); i++){
            LogUtil.e("yuyahao", DateUtil.date2String(sleepsDatas.get(i).time_stamp * 1000, "yyyy-MM-dd HH:mm:ss") + "----->" + sleepsDatas.get(i).status + "--->" + sleepsDatas.get(i).time_stamp);
        }
        return sleepsDatas;
    }
}
